<!--
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-08-25 20:38:44
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-08-26 09:04:09
 * @FilePath: \后端管理系统\app\src\views\Goods\component\ParamsComponent\ParamAdd.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div>
    <el-button
      type="primary"
      size="mini"
      :disabled="isBtnDisabled"
      @click="addDialogVisible = true"
    >
      <slot name="title">添加参数</slot>
    </el-button>
  </div>
</template>

<script>
export default {
  props: {
    isBtnDisabled: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      addDialogVisible: false,
    };
  },
  methods: {},
};
</script>